<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户界面样式 -表单轮廓和防止拖曳文本域</title>
    <style>
        /* outline：none；取消表单轮廓 */
        input,textarea {
            outline: none;
        }
        /* 防止文本域拖曳 resize：none； */
        textarea {
            resize: none;
            /* outline: none; */
        }
    </style>
</head>
<body>
    <input type="text">
    <textarea name="" id="" cols="30" rows="10"></textarea>
</body>
</html>